$OpenBSD: patch-src_Makefile_in,v 1.2 2013/11/26 11:59:32 fgsch Exp $
--- src/Makefile.in.orig	Sat Feb 23 22:00:56 2013
+++ src/Makefile.in	Sat Feb 23 22:00:59 2013
@@ -292,7 +292,7 @@ INCLUDES = \
 	-DIMAGEDIR=\"$(imagedir)\"   \
 	-DMETADATADIR=\"$(metadatadir)\"
 
-compiz_LDADD = @COMPIZ_LIBS@ @GL_LIBS@ -lm -ldl
+compiz_LDADD = @COMPIZ_LIBS@ @GL_LIBS@ -lm
 compiz_LDFLAGS = -export-dynamic -pthread
 compiz_SOURCES = \
 	main.c	   \
